package com.example.ivos.user.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

    @Data
    public class User {
        @ApiModelProperty(value = "用户编号")
        private Long id;
        @ApiModelProperty(value = "用户名")
        private String username;
        @ApiModelProperty(value = "密码")
        private String password;
        @ApiModelProperty(value = "邮箱")
        private String email;
        @ApiModelProperty(value = "手机号")
        private String phone;
        @ApiModelProperty(value = "年龄")
        private Integer age;
        @ApiModelProperty(value = "性别")
        private String gender;
        @ApiModelProperty(value = "创建时间")
        private Date createTime;
        @ApiModelProperty(value = "更新时间")
        private Date updateTime;
        @ApiModelProperty(value = "用户状态")
        private String status;
        @ApiModelProperty(value = "职级")
        private String level;//员工 经理 总监 总裁
        @ApiModelProperty(value = "直属领导编号")
        private Long parentId;
    }

